home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Telecommunications & Multimedia Encyclopedia
/
Jones Telecommunications and Multimedia Encyclopedia (Jones)(1996).ISO
/
mac
/
ENCYCLOP
/
OPTMENU.DIR
/
00002_Script_2
< prev
next >
Wrap
Text File
|
1996-01-09
|
2KB
|
73 lines
on exitFrame
global gButtonClicked, gDisableThreestate, returnframe
global gGrayPrint, gGrayFind
moveToFront window "OptionsMenu"
set done = 0
repeat while NOT ( done )
if ( rollover (2) ) then
ButtonHandler 2, 12
if gButtonClicked = 1 then
DoDictionary
set gDisableThreestate = 0
set done = 1
end if
end if
put "Return Frame = " & returnframe
if gGrayFind = 1 then
puppetsprite 3, true
set the castnum of sprite 3 to 17
else
if ( rollover (3) ) then
ButtonHandler 3, 15
if gButtonClicked = 1 then
DoFind
set gDisableThreestate = 0
set done = 1
end if
end if
end if
-- print
if gGrayPrint = 0 then
if ( rollover (4) ) then
ButtonHandler 4, 18
if gButtonClicked = 1 then
DoPrint
set gDisableThreestate = 0
set done = 1
end if
end if
else
-- we are not on a screen for printing
puppetsprite 4, true
set the castnum of sprite 4 to 20
end if
-- sound level
if ( rollover (5) ) then
ButtonHandler 5, 21
if gButtonClicked = 1 then
DoSoundLevel
set done = 1
end if
end if
-- close
if ( rollover (6) ) then
ButtonHandler 6, 24
if gButtonClicked = 1 then
set gDisableThreestate = 0
set done = 1
end if
end if
end repeat
stopMovie
go to "End"
--go to the frame
end